<!DOCTYPE HTML>
<html xmlns="http://www.w3.org/1999/xhtml">
  <body>
    <template xmlns="http://test/foo"></template>
    <script>
      document.querySelector('template').innerHTML = "<p>Lorem Ipsum</p>";
    </script>
    <p>This test passes if it does not CRASH.</p>
  </body>
</html>
